package com.kfm.wiki.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kfm.wiki.entity.EbookSnapshot;
import com.kfm.wiki.mapper.EbookSnapshotMapper;
import com.kfm.wiki.service.EbookSnapshotService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EbookSnapshotServiceImpl extends ServiceImpl<EbookSnapshotMapper, EbookSnapshot>
        implements EbookSnapshotService {

    @Override
    public void generateSnapshot() {
        getBaseMapper().generateSnapshot();
    }

    @Override
    public List<EbookSnapshot> getInfo() {
        return getBaseMapper().getInfo();
    }

    @Override
    public List<EbookSnapshot> getInfo30() {
        return getBaseMapper().getInfo30();
    }

}
